package com.sinosoft.msf.base.supplier.pojo.email;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class SendVo {

    @JSONField(name = "template")
    private String template;
    @JSONField(name = "toUser")
    private List<String> toUser;
    @JSONField(name = "secretKey")
    private String secretKey;
    @JSONField(name = "contents")
    private List<String> contents;
    @JSONField(name = "emailInfo")
    private EmailInfoDTO emailInfo;
    @JSONField(name = "sendTime")
    private String sendTime;

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public List<String> getToUser() {
        return toUser;
    }

    public void setToUser(List<String> toUser) {
        this.toUser = toUser;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public List<String> getContents() {
        return contents;
    }

    public void setContents(List<String> contents) {
        this.contents = contents;
    }

    public EmailInfoDTO getEmailInfo() {
        return emailInfo;
    }

    public void setEmailInfo(EmailInfoDTO emailInfo) {
        this.emailInfo = emailInfo;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public static class EmailInfoDTO {
        @JSONField(name = "title")
        private String title;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
